package com.jysz.certificate.persistence.model.core;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.jysz.webcore.ssh.entity.AbstractBaseEntity;

/**
 * @author <a href="mailto:javaengine@outlook.com">Kaca Rich</a>
 *
 */
@Entity
@Table(name="core_system_preferences_")
@org.hibernate.annotations.Entity(dynamicInsert = true,dynamicUpdate = true)
public class SystemPreferences extends AbstractBaseEntity<Long> {

	
	
	private static final long serialVersionUID = 1L;
	
	
	private String configTypeKey;
	
	private String configValue;	// json 格式

	@Column(name = "_configtype_key", columnDefinition="varchar(255)")
	public String getConfigTypeKey() {
		return configTypeKey;
	}
	public void setConfigTypeKey(String configTypeKey) {
		this.configTypeKey = configTypeKey;
	}
	
	@Column(name = "_config_value", columnDefinition = "varchar(1024)")
	public String getConfigValue() {
		return configValue;
	}
	public void setConfigValue(String configValue) {
		this.configValue = configValue;
	}
}
